package com.sn.author.service.dao;

import com.sn.author.common.enums.CollectionStatusEnum;
import com.sn.author.domain.BaseResult;
import com.sn.author.domain.dto.CollectionDTO;
import com.sn.author.domain.entity.CollectionData;
import com.sn.author.domain.vo.NumberVo;
import com.sn.author.domain.vo.QueryTimeVo;
import java.util.List;

/**
 * @Author xiaom
 * @Date 2020/10/26 10:25
 * @Version 1.0.0
 * @Description <>
 **/
public interface CollectionService extends BaseService {
    Boolean collection(NumberVo numberVo);

    BaseResult<List<CollectionDTO>> pageList(QueryTimeVo queryTimeVo);

    void export(Long taskId);

    void saveCommitData(List<CollectionData> data);

    void updateTaskStatus(String taskId, CollectionStatusEnum statusEnum);
}
